import request from '@/http/request'
// 用户信息
// 用户基本信息
export function getUserInfo(data) {
    return request.get(`/client/signUser/getUserInfo`, data)
}
// 修改密码
export function getUpdPass(data) {
    return request.post(`/client/signUser/getUpdPass`, data)
}
// 微信解绑/绑定
 export function userWXopId(data) {
     return request.post(`/client/signUser/userWXopId`, data)
 }
 // 注销账户
 export function deleteUserPhone(data) {
      const formData = new FormData()
   formData.append('userId', data.userId)
     return request.post(`/client/signUser/deleteUserPhone`, formData)
 }
 // 注销协议
 export function getAgreement(data) {
     return request.get(`/client/signUser/getAgreement`, data)
 }
//  联系人列表
export function signContactsList(data) {
    return request.get(`/client/signUser/signContactsList`, data)
}
// 新增联系人
export function signContactsAdd(data) {
    return request.post(`/client/signUser/signContactsAdd`, data)
}
// 修改联系人
export function signContactsEdit(data) {
    return request.put(`/client/signUser/signContactsEdit`, data)
}
// 删除联系人
export function deleteBatch(data) {
    return request.delete(`/client/signUser/deleteBatch?ids=${data}`)
}
// 印章管理
export function userEnterpriseSealList(data) {
    return request.get(`/client/signUser/userEnterpriseSealList`,data)
}
// 修改印章
export function getUpUserEnterpriseSeal(data) {
    return request.post(`/client/signUser/getUpUserEnterpriseSeal`, data)
}
// 删除印章
export function getDelUserEnterpriseSeal(data) {
    return request.delete(`/client/signUser/getDelUserEnterpriseSeal?userEnterpriseSealId=${data}`)
}
// 关于我们
export function getAboutUs() {
    return request.get(`/client/signUser/getAboutUs`)
}
// 设置签署密码
export function setSignPassword(data) {
    return request.post(`/client/contractModel/setSignPassword`, data)
}
// 修改签署密码
export function updSignPassword(data) {
    return request.post(`/client/contractModel/updSignPassword`, data)
    }
// 实名信息认证
export function realNameAuthentication(data) {
    return request.post(`/client/signUser/realNameAuthentication`,data)
}
//实名信息认证结果查询
export function searchRealNameRes(data) {
    return request.get(`/client/signUser/sureRealName`,data)
}
